package com.cskaoyan.method.factory;

/**
 * @author stone
 * @date 2021/12/23 11:33
 */
public class PigFactory implements AnimalFactory{
    @Override
    public Animal create() {
        return new Pig();
    }
}
